package com.fqgj.xjd.user.client.response;

import com.fqgj.xjd.user.client.request.UserBase;
import com.fqgj.xjd.user.client.request.UserContact;
import com.fqgj.xjd.user.client.request.UserResident;
import com.fqgj.xjd.user.client.request.UserWork;

import java.io.Serializable;

/**
* User: zhangxingyun
* Date: 2017-07-23
* Time: 14:10:22.394
*/
public class UserInfo implements Serializable {
    private static final long serialVersionUID = 1031842806975901313L;
    /**
    *客户身份信息
    */
    private User user;
    /**
    *用户基本信息
    */
    private UserBase userBase;
    /**
    *用户联系方式
    */
    private UserContact userContact;
    /**
    *用户住址信息
    */
    private UserResident userResident;
    /**
    *用户工作信息
    */
    private UserWork userWork;

    public UserInfo() {
    }

    public UserInfo(User user, UserBase userBase, UserContact userContact, UserResident userResident, UserWork userWork) {
        this.user = user;
        this.userBase = userBase;
        this.userContact = userContact;
        this.userResident = userResident;
        this.userWork = userWork;
    }

    public User getUser() {
        return user;
    }

    public UserInfo setUser(User user) {
        this.user = user;
        return this;
    }

    public UserBase getUserBase() {
        return userBase;
    }

    public UserInfo setUserBase(UserBase userBase) {
        this.userBase = userBase;
        return this;
    }

    public UserContact getUserContact() {
        return userContact;
    }

    public UserInfo setUserContact(UserContact userContact) {
        this.userContact = userContact;
        return this;
    }

    public UserResident getUserResident() {
        return userResident;
    }

    public UserInfo setUserResident(UserResident userResident) {
        this.userResident = userResident;
        return this;
    }

    public UserWork getUserWork() {
        return userWork;
    }

    public UserInfo setUserWork(UserWork userWork) {
        this.userWork = userWork;
        return this;
    }
}
